import Vue from 'vue'
import App from '@/App.vue'
import router from '@/router'
import store from '@/store'
import Filter from '@/filters/install'
import Directive from '@/directives/install'
import Api from '@/api/install'
import Bus from '@/lib/bus'
import '@/plugins/element.js'

// 配置高德地图 Js API 安全密钥
window._AMapSecurityConfig = {
  securityJsCode: 'e34d6be3f53da93cf456f14e28e6d9a6'
}

Vue.config.productionTip = false

// Vue use
Vue.use(Api)
Vue.use(Bus)
Vue.use(Filter)
Vue.use(Directive)

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
